EnableMediaReplace\EnableMediaReplacePlugin B

Total Complexity 97
Dependencies 7
Dependents 1
Total lines 629
Lines of code 384
Logical lines of code 238
Comment lines 93
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
route()
A
45 11 39
runtime()
S
56 7 20
attachment_editor()
S
48 6 32
checkImagePermission()
S
61 7 12
show_thumbs_box()
S
51 6 23
add_meta_boxes()
S
59 6 12
admin_date_replaced_media_on_edit_media_screen()
S
52 5 26
convertdate()
S
59 5 17
get_modified_date()
S
55 4 20
admin_scripts()
S
48 3 32
get()
S
60 4 13
plugin_actions()
S
51 3 24
add_media_action()
S
54 3 19
display_network_notices()
S
71 4 5
replace_meta_box()
S
57 2 15
hide_sub_menu()
S
67 3 8
menu()
S
69 3 5
attempt_uncache_image()
S
68 2 7
setScreen()
S
65 2 9
display_notices()
S
74 2 4
filesystem()
S
81 1 3
dismiss_notices()
S
75 1 4
init()
S
72 1 5
uiHelper()
S
81 1 3
nopriv_plugin_actions()
S
79 1 3
getRemoveBgURL()
S
65 1 9
getMediaReplaceURL()
S
65 1 9
getPluginURL()
S
79 1 3
__construct()
S
79 1 3